package com.bhp.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName UserRole
 * @Description TODO
 * @Author 包海鹏
 * @Date 2020/4/11 14:24
 * @Version 1.0
 **/
@Data
@TableName("t_user_role")
public class UserRole {

    /**
     * 主键
     */
    @TableId(value = "c_id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 用户ID
     */
    @TableField(value = "c_user_id")
    private String userId;

    /**
     * 角色ID
     */
    @TableField(value = "c_role_id")
    private String roleId;
}
